package com.linwen.javase.desgin_pattern.create.factory.abstract_factory;

/**
 * @ClassName HWAbstractFactory
 * @Description
 * @Author lin
 * @Date 2022/6/13 下午11:47
 * @Version V1.0
 */
public class HWAbstractFactory extends AbstractFactory{

    @Override
    public Phone getPhone() {
        return new Phone("华为手机");
    }

    @Override
    public Table getTable() {
        return new Table("华为平板");
    }

    @Override
    public Computer getComputer() {
        return new Computer("华为电脑");
    }
}
